Platform Explorer / Nuxeo Platform 2021.48

Contribution org.nuxeo.theme.nuxeo.webapp--negotiations

This contribution is part of XML component org.nuxeo.theme.nuxeo.webapp inside nuxeo-platform-webapp-core-2021.48.10.jar /OSGI-INF/theme-contrib.xml

Extension Point

Extension point negotiations of component service.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <negotiation target="jsfDefaultPage">
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPage" order="100">
            <property name="jsfDefaultPage">galaxy/default</property>
          </negotiator>
        </negotiation>
  • <negotiation target="jsfPage">
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestParameter" order="10">
            <property name="param">page</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestAttribute" order="10">
            <property name="param">page</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPage" order="100">
            <property name="jsfPage">galaxy/default</property>
          </negotiator>
        </negotiation>
  • <negotiation target="jsfFlavor">
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestParameter" order="10">
            <property name="param">flavor</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestAttribute" order="20">
            <property name="param">flavor</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.localconf.LocalThemeFlavor" order="30">
            <property name="negotiatedPageVariable">jsfPage</property>
          </negotiator>
          <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPageFlavor" order="100">
            <property name="negotiatedPageVariable">jsfPage</property>
          </negotiator>
        </negotiation>

XML Source

<extension point="negotiations" target="org.nuxeo.theme.styling.service">

    <negotiation target="jsfDefaultPage">
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPage" order="100">
        <property name="jsfDefaultPage">galaxy/default</property>
      </negotiator>
    </negotiation>

    <negotiation target="jsfPage">
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestParameter" order="10">
        <property name="param">page</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestAttribute" order="10">
        <property name="param">page</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPage" order="100">
        <property name="jsfPage">galaxy/default</property>
      </negotiator>
    </negotiation>

    <negotiation target="jsfFlavor">
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestParameter" order="10">
        <property name="param">flavor</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.RequestAttribute" order="20">
        <property name="param">flavor</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.localconf.LocalThemeFlavor" order="30">
        <property name="negotiatedPageVariable">jsfPage</property>
      </negotiator>
      <negotiator class="org.nuxeo.ecm.web.resources.jsf.negotiators.DefaultPageFlavor" order="100">
        <property name="negotiatedPageVariable">jsfPage</property>
      </negotiator>
    </negotiation>

  </extension>